import java.util.Scanner;

public class Day47 {
    // todo
    public static void main(String[] args) {
        System.out.println("请输入学生成绩：");
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        String result = a >= 90 ? "A" : (60 <= a && a < 90 ? "B" : "C");
        System.out.println("该学生的最终评级为：" + result);
    }
}
